const mongoose = require('mongoose')
var talkSchema = new mongoose.Schema({
    use_id: {
        type: String,
        trim: true,
    },
    content: {
        type: String,
        trim: true,
    },
    imgUrl: {
        type: String,
        trim: true,
    },
    time: {
        type: Date,
        default: Date.now,
    }
})

var dynamic = mongoose.model("dynamics", talkSchema);
module.exports = dynamic